﻿using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace Kexp.ShoutcastRunner.Tests
{
    [TestClass]
    public class TestSettings
    {
        [TestMethod]
        [Ignore] // this won't work unless you have shoutcast installed on your computer
        public void ShoutcastExe_ReturnsAValue()
        {
            Assert.IsFalse(Settings.ShoutcastExecutable.IsNullOrEmptyOrWhiteSpace());
        }

        [TestMethod]
        public void OverwriteLogSizeLimit_ReturnsANumber()
        {
            Assert.IsTrue(Settings.OverwriteLogSizeLimit > 0);
            Assert.IsTrue(Settings.OverwriteW3CSizeLimit > 0);
        }
    }
}
